-- GENERATED SPELL FOR [Dregmar Runebrand] --


function spell0_27003(pUnit, Event) --@Rune Shield,Self--
pUnit:FullCastSpellOnTarget(48325,pUnit)
pUnit:RegisterEvent('Sorts_27003', 31000, 1)
end

function Sorts_27003(pUnit, Event)
local choix_sorts_27003 = math.random(0, 0)
if choix_sorts_27003 == 0 then
pUnit:RegisterEvent('spell0_27003', 1, 1)
end
end

function mob27003_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27003', math.random(1500, 3000), 1)
end

function mob27003_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27003_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27003_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27003, 1, 'mob27003_Action')
RegisterUnitEvent(27003, 2, 'mob27003_Leave')
RegisterUnitEvent(27003, 3, 'mob27003_Kill')
RegisterUnitEvent(27003, 4, 'mob27003_Die')
